<h1>คำถามชิงรางวัล</h1>
<?php echo $emails->pagination()?>
<table class="list">
	<tr>
		<th>อีเมล์</th>
		<th width="90"><?php echo form_button('',lang('btn_back'),'class="btn" onclick="window.location = \'questions/admin/questions/\'"')?></th>
	</tr>
	<?php foreach($emails as $email): ?>
	<tr <?php echo cycle()?>>
		<td><?php echo $email->email?></td>
		<td>
			<a class="btn" href="questions/admin/questions/answer_view/<?php echo $email->id?>" >ดูคำตอบ</a>
		</td>
	</tr>
	<?php endforeach; ?>
</table>
<?php echo $emails->pagination()?>
	